package com.sz.stock.model;

import java.math.BigDecimal;

public class POS {
    private Integer stockPosId;

    private Integer stockPosUserid;

    private String stockPosCode;

    private String stockPosCompany;

    private Integer stockPosTradblance;

    private Integer stockPosKyblance;

    private Integer stockPosDjblance;

    private BigDecimal stockPosMoney;

    public POS(Integer stockPosId, Integer stockPosUserid, String stockPosCode, String stockPosCompany, Integer stockPosTradblance, Integer stockPosKyblance, Integer stockPosDjblance, BigDecimal stockPosMoney) {
        this.stockPosId = stockPosId;
        this.stockPosUserid = stockPosUserid;
        this.stockPosCode = stockPosCode;
        this.stockPosCompany = stockPosCompany;
        this.stockPosTradblance = stockPosTradblance;
        this.stockPosKyblance = stockPosKyblance;
        this.stockPosDjblance = stockPosDjblance;
        this.stockPosMoney = stockPosMoney;
    }

    public POS() {
        super();
    }

    public Integer getStockPosId() {
        return stockPosId;
    }

    public void setStockPosId(Integer stockPosId) {
        this.stockPosId = stockPosId;
    }

    public Integer getStockPosUserid() {
        return stockPosUserid;
    }

    public void setStockPosUserid(Integer stockPosUserid) {
        this.stockPosUserid = stockPosUserid;
    }

    public String getStockPosCode() {
        return stockPosCode;
    }

    public void setStockPosCode(String stockPosCode) {
        this.stockPosCode = stockPosCode == null ? null : stockPosCode.trim();
    }

    public String getStockPosCompany() {
        return stockPosCompany;
    }

    public void setStockPosCompany(String stockPosCompany) {
        this.stockPosCompany = stockPosCompany == null ? null : stockPosCompany.trim();
    }

    public Integer getStockPosTradblance() {
        return stockPosTradblance;
    }

    public void setStockPosTradblance(Integer stockPosTradblance) {
        this.stockPosTradblance = stockPosTradblance;
    }

    public Integer getStockPosKyblance() {
        return stockPosKyblance;
    }

    public void setStockPosKyblance(Integer stockPosKyblance) {
        this.stockPosKyblance = stockPosKyblance;
    }

    public Integer getStockPosDjblance() {
        return stockPosDjblance;
    }

    public void setStockPosDjblance(Integer stockPosDjblance) {
        this.stockPosDjblance = stockPosDjblance;
    }

    public BigDecimal getStockPosMoney() {
        return stockPosMoney;
    }

    public void setStockPosMoney(BigDecimal stockPosMoney) {
        this.stockPosMoney = stockPosMoney;
    }

    @Override
    public String toString() {
        return "POS{" +
                "stockPosId=" + stockPosId +
                ", stockPosUserid=" + stockPosUserid +
                ", stockPosCode='" + stockPosCode + '\'' +
                ", stockPosCompany='" + stockPosCompany + '\'' +
                ", stockPosTradblance=" + stockPosTradblance +
                ", stockPosKyblance=" + stockPosKyblance +
                ", stockPosDjblance=" + stockPosDjblance +
                ", stockPosMoney=" + stockPosMoney +
                '}';
    }
}